package com.tarena.lbs.attach.api.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
public class AttachBindDTO {
    @NotBlank(message = "文件ID不能为空")
    private String fileId;

    @NotBlank(message = "实体类型不能为空")
    private String entityType;

    @NotNull(message = "实体ID不能为空")
    private Long entityId;
}